-- GENERATED SPELL FOR [Sarendryana] --


function spell0_26837(pUnit, Event) --@Frost Shock,n/a--
pUnit:FullCastSpellOnTarget(12548,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_26837', 8288, 1)
end

function Sorts_26837(pUnit, Event)
local choix_sorts_26837 = math.random(0, 0)
if choix_sorts_26837 == 0 then
pUnit:RegisterEvent('spell0_26837', 1, 1)
end
end

function mob26837_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_26837', math.random(1500, 3000), 1)
end

function mob26837_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob26837_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob26837_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(26837, 1, 'mob26837_Action')
RegisterUnitEvent(26837, 2, 'mob26837_Leave')
RegisterUnitEvent(26837, 3, 'mob26837_Kill')
RegisterUnitEvent(26837, 4, 'mob26837_Die')
